<script setup>
import SingleProps from './views/SingleProps.vue';
import { ref ,reactive} from 'vue';
const num = ref(10)
const person = reactive({
  name:'张三',
  age:18
})

const obj = {
  username:'admin',
  age:21
}
</script>

<template>
<div>
  <div @click="num++">{{ num }}</div>
  <!-- <SingleProps :count="num"></SingleProps> -->
  <SingleProps :count="num" :obj="obj"></SingleProps>
</div>
</template>

<style scoped>
</style>